<%@ Assembly Name="Starznet.SharePoint.SPDAT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=74e3ac9236a77c47" %>
<%@ Page Language="C#" Inherits="Starznet.SharePoint.SPDAT.ApplicationPages.Settings.AddEditHandlerPage" MasterPageFile="~/_layouts/application.master" EnableViewState="false" EnableViewStateMac="false" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" Text="<%$Resources:szadm,ManageEventHandler_AddEditPageTitle%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" Text="<%$Resources:szadm,ManageEventHandler_AddEditPageTitle%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <SharePoint:EncodedLiteral ID="EncodedLiteral3" runat="server" Text="<%$Resources:szadm,ManageEventHandler_AddEditPageDesc%>" EncodeMethod="HtmlEncode" />
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageImage" runat="server">
	<a href="http://www.starznet.co.uk" title="Visit the Starznet website" target="_blank">
	    <img src="/_layouts/Starznet/StarznetPageGraphic.gif" alt="Starznet Ltd" style="margin-top:3px;border:0px;"/>
	</a>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
 <table class="propertysheet" border="0" width="100%" cellspacing="0" cellpadding="0">
    <wssuc:InputFormSection 
        Title="<%$Resources:szadm,ManageEventHandler_EventTypeLabel%>"
		Description="<%$Resources:szadm,ManageEventHandler_EventTypeDesc%>"
		runat="server">
	   <Template_InputFormControls>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,ManageEventHandler_EventTypeLabel%>" runat="server">
				 <Template_Control>
		            <asp:DropDownList ID="DdlEventType" runat="server">
		                <asp:ListItem Text="ItemAdded" Value="ItemAdded" />
		                <asp:ListItem Text="ItemAdding" Value="ItemAdding" />
		                <asp:ListItem Text="ItemAttachmentAdded" Value="ItemAttachmentAdded" />
		                <asp:ListItem Text="ItemAttachmentAdding" Value="ItemAttachmentAdding" />
		                <asp:ListItem Text="ItemAttachmentDeleted" Value="ItemAttachmentDeleted" />
		                <asp:ListItem Text="ItemAttachmentDeleting" Value="ItemAttachmentDeleting" />
		                <asp:ListItem Text="ItemCheckedOut" Value="ItemCheckedOut" />
		                <asp:ListItem Text="ItemCheckingOut" Value="ItemCheckingOut" />
		                <asp:ListItem Text="ItemCheckedIn" Value="ItemCheckedIn" />
		                <asp:ListItem Text="ItemCheckingIn" Value="ItemCheckingIn" />
		                <asp:ListItem Text="ItemDeleted" Value="ItemDeleted" />
		                <asp:ListItem Text="ItemDeleting" Value="ItemDeleting" />
		                <asp:ListItem Text="ItemUpdated" Value="ItemUpdated" />
		                <asp:ListItem Text="ItemUpdating" Value="ItemUpdating" />
		            </asp:DropDownList>
				 </Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection 
        Title="<%$Resources:szadm,ManageEventHandler_AssemblyGroupLabel%>"
		Description="<%$Resources:szadm,ManageEventHandler_AssemblyGroupDesc%>"
		runat="server">
	   <Template_InputFormControls>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,ManageEventHandler_AssemblyLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox Title="<%$Resources:szadm,ManageEventHandler_AssemblyLabel%>" CssClass="ms-input"  ID="TxtAssemblyName" Columns="40" runat="server" MaxLength="255" />
				    <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtAssemblyName"
			            ControlToValidate="TxtAssemblyName"
			            ErrorMessage="<%$Resources:szadm,ManageEventHandler_AssemblyError%>" runat="server" />
				 </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,ManageEventHandler_VersionLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox Title="<%$Resources:szadm,ManageEventHandler_VersionLabel%>" CssClass="ms-input"  ID="TxtAssemblyVersion" Columns="40" runat="server" MaxLength="255" />
				    <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtAssemblyVersion"
			            ControlToValidate="TxtAssemblyVersion"
			            ErrorMessage="<%$Resources:szadm,ManageEventHandler_VersionError%>" runat="server" />
				 </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,ManageEventHandler_CultureLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox Title="<%$Resources:szadm,ManageEventHandler_CultureLabel%>" CssClass="ms-input"  ID="TxtAssemblyCulture" Columns="40" runat="server" MaxLength="255" />
				    <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtAssemblyCulture"
			            ControlToValidate="TxtAssemblyCulture"
			            ErrorMessage="<%$Resources:szadm,ManageEventHandler_CultureError%>" runat="server" />
				 </Template_Control>
			</wssuc:InputFormControl>
			<wssuc:InputFormControl LabelText="<%$Resources:szadm,ManageEventHandler_PublicKeyLabel%>" runat="server">
				 <Template_Control>
		            <SharePoint:InputFormTextBox Title="<%$Resources:szadm,ManageEventHandler_PublicKeyLabel%>" CssClass="ms-input"  ID="TxtPublicKeyToken" Columns="40" runat="server" MaxLength="255" />
				    <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtPublicKey"
			            ControlToValidate="TxtPublicKeyToken"
			            ErrorMessage="<%$Resources:szadm,ManageEventHandler_PublicKeyError%>" runat="server" />
				 </Template_Control>
			</wssuc:InputFormControl>
	   </Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:InputFormSection
        Title="<%$Resources:szadm,ManageEventHandler_ClassLabel%>"
		Description="<%$Resources:szadm,ManageEventHandler_ClassDesc%>"
		runat="server">
		<Template_InputFormControls>
            <wssuc:InputFormControl LabelText="<%$Resources:szadm,ManageEventHandler_ClassLabel%>" runat="server">
			     <Template_Control>
	                <SharePoint:InputFormTextBox Title="<%$Resources:szadm,ManageEventHandler_ClassLabel%>" CssClass="ms-input"  ID="TxtClass" Columns="40" runat="server" MaxLength="255" />
			        <SharePoint:InputFormRequiredFieldValidator 
		                ID="ReqTxtClass"
			            ControlToValidate="TxtClass"
			            ErrorMessage="<%$Resources:szadm,ManageEventHandler_ClassError%>" runat="server" />
			     </Template_Control>
			</wssuc:InputFormControl>
		</Template_InputFormControls>
    </wssuc:InputFormSection>
    <wssuc:ButtonSection runat="server">
	   <Template_Buttons>
		  <asp:Button UseSubmitBehavior="false" runat="server" CssClass="ms-ButtonHeightWidth" OnClick="BtnUpdate_Click" Text="<%$Resources:wss,multipages_okbutton_text%>" id="BtnCreate" accesskey="<%$Resources:wss,okbutton_accesskey%>" CausesValidation="true"/>
	   </Template_Buttons>
    </wssuc:ButtonSection>
 </table>
</asp:Content>
